﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Esosi.Entity
{
    [Table("GM_PRICE")]
    public class GmPrice
    {
        [Key]
        [Column("PRICE_ID")]
        public long PriceId { get; set; }

        [Column("PRICE_NAME")]
        public string PriceName { get; set; }

        [Column("FEE_TYPE_CODE")]
        public int FeeTypeCode { get; set; }

        [Column("PRICE")]
        public decimal Price { get; set; }

        [Column("POLICY_FEE_TYPE_CODE")]
        public int PolicyFeeTypeCode { get; set; }
    }
}